package top.cptr.so.aliyundomainserver.config;

import org.springframework.context.annotation.Configuration;
import org.springframework.web.method.support.HandlerMethodArgumentResolver;
import org.springframework.web.servlet.config.annotation.WebMvcConfigurer;
import top.cptr.so.aliyundomainserver.argumentResolver.RArgumentResolver;

import java.util.List;

@Configuration
public class MvcConfig implements WebMvcConfigurer {
    @Override
    public void addArgumentResolvers(List<HandlerMethodArgumentResolver> resolvers) {
        RArgumentResolver resolver = new RArgumentResolver();
        resolvers.add(resolver);
    }
}
